//
//  WBStatusPicture.swift
//  Weibo
//
//  Created by cc on 10/21/17.
//  Copyright © 2017 cc. All rights reserved.
//

import UIKit

/// 微博配圖模型
class WBStatusPicture: NSObject {

    /// 縮略圖地址
    @objc var thumbnail_pic: String? {
        didSet {
            
            //设置大尺寸图片
            largePic = thumbnail_pic?.replacingOccurrences(of: "/thumbnail/", with: "/large/")
            
            //更改缩略图地址
            thumbnail_pic = thumbnail_pic?.replacingOccurrences(of: "/thumbnail/", with: "/wap360/")
        }
    }
    
    //大尺寸图片
    @objc var largePic: String?
    
    
    override var description: String {
        return yy_modelDescription()
    }
}
